/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package game.stategie;

import game.plateau.Plateau;
import game.support.Cochon;
import game.support.DernierEmplacementAtteintException;

/**
 *
 * @author bloodydark
 */
public class StrategieRouge implements Strategie {

    private int nombrePas;

    public StrategieRouge() { }
    public StrategieRouge(int nombrePas) {
        this.nombrePas = nombrePas;
    }

    public boolean evaluer(Plateau plateau, Cochon cochon) throws DernierEmplacementAtteintException {
        for (int i = 0; i < nombrePas; i++) {
            System.out.println(" >>> Cochon avance");
            cochon.avancer();
        }
        return false;
    }
}
